#ifndef _CPU_DRIVER_H__
#define _CPU_DRIVER_H__

/* cpu_driver.h主要包含cpu侧的驱动的封装，比如timer，adc，flash等,  
 * 板级驱动依赖cpu_driver.h,比如drv8301.c依赖 cpu_driver
*/
#include "bsp/bsp.h"
#if defined(STM32F405xx) || defined(STM32G431xx)
#include "bsp/stm32/tim.h"
#include "bsp/stm32/gpio.h"
#include "bsp/stm32/flash.h"
#include "bsp/stm32/board.h"
#elif defined (GD32F30X_HD) || defined (GD32F30X_XD) || defined (GD32F30X_CL)
#include "bsp/gd32/gpio.h"
#include "bsp/gd32/flash.h"
#include "bsp/gd32/adc.h"
#include "bsp/gd32/tim.h"
#include "bsp/gd32/board.h"
#elif defined (AT32FXXX)
#include "bsp/at32/gpio.h"
#include "bsp/at32/flash.h"
#include "bsp/at32/adc.h"
#include "bsp/at32/tim.h"
#include "bsp/at32/board.h"
#endif
#include "bsp/can.h"
#endif /* _CPU_DRIVER_H__ */

